const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_mail_core_module",
    map: {
        listen: [String, , "server"],
        max_errors: [Number, 5, ["mail", "server"]],
        protocol: [String, , "server"],
        resolver: [[Switch, String], false, ["mail", "server"]],
        resolver_timeout: [String, "60s", ["mail", "server"]],
        server_name: [String, , ["mail", "server"]],
        timeout: [String, "60s", ["mail", "server"]]
    }
};